package cn.formaggie.entity.model.store;

public class StoreItem {
    private Integer id;
    private String name;
    private Integer warning;
    private String unit;

    public StoreItem() {
    }

    public StoreItem(String name, Integer warning) {
        this.name = name;
        this.warning = warning;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getWarning() {
        return warning;
    }

    public void setWarning(Integer warning) {
        this.warning = warning;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "StoreItem{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", warning=" + warning +
                ", unit='" + unit + '\'' +
                '}';
    }
}
